<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/9/14
  Time: 9:01
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <%
        pageContext.setAttribute("APP_PATH",request.getContextPath());
    %>
    <meta charset="UTF-8">
    <title>ERP系统 - 房屋信息更新</title>
    <link rel="stylesheet" href="<%=request.getContextPath()%>/static/css/main.css">
    <link rel="stylesheet" href="<%=request.getContextPath()%>/static/lib/font-awesome/css/font-awesome.css">
</head>
<body>
<div class="box">
    <h3>修改用户信息</h3>
    <form action="${APP_PATH}/shiro/user/userup" method="post">
        <table class="form-table">
            <tr>
                <td>Id</td>
                <td colspan="3" class="control">
                    <input type="text" name="uId" readonly="readonly" value="${sessionScope.user.uId}">
                </td>
            </tr>
            <tr>
                <td>用户</td>
                <td colspan="3" class="control">
                    <input type="text" name="uUsername"   value="${sessionScope.user.uUsername}">
                </td>
            </tr>
            <tr>
                <td>密码</td>
                <td colspan="3" class="control">
                    <input type="text" name="uPassword"  value="${sessionScope.user.uPassword}">
                </td>
            </tr>
            <tr>
                <td>年龄</td>
                <td colspan="3" class="control">
                    <input type="text" name="uAge"  value="${sessionScope.user.uAge}">
                </td>
            </tr>
            <tr>
                <td>手机号码</td>
                <td colspan="3" class="control">
                    <input type="text" name="uTel"  value="${sessionScope.user.uTel}">
                </td>
            </tr>
            <tr>
                <td>状态</td>
                <td colspan="3" class="control">
                    <select name="uStatus" >
                        <option value="0">离职</option>
                        <option value="1">在职</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td>角色</td>
                <td colspan="3" class="control">
                    <select name="rId" >
                        <option value="1">智游老总</option>
                        <option value="2">班主任</option>
                        <option value="3">公寓管理员</option>
                    </select>
                </td>
            </tr>
        </table>
        <div class="buttons">
            <input class="btn btn-primary va-bottom" type="submit" value="保存">&nbsp;&nbsp;
            <a class="btn btn-default" href="javascript:history.go(-1)">返回</a>
        </div>
    </form>
</div>
</body>
</html>
